export default [{
	path: '/user',
	name: 'user',
	redirect:'/login',
	component: () => import('@/views/user/user.vue'),
	children: [{
		path: '/login',
		name: 'login',
		component: () => import('@/views/user/login.vue'),
		meta:{
			cache:false
		}
	}, {
		path: '/enroll',
		name: 'enroll',
		component: () => import('@/views/user/enroll.vue'),
		meta:{
			cache:false
		}
	}]
}, {
	path: '/purse',
	name: 'purse',
	component: () => import('@/views/user/purse.vue'),
	meta:{
		auth:true
	}
},{
	path: '/userInfo',
	name: 'userInfo',
	component: () => import('@/views/user/userInfo.vue'),
	meta:{
		title:"用户信息",
		auth:true,
		cache:false
	}
}]